﻿using com.ytocargo.Core.Users;
using com.ytocargo.Core.AirPortCharts;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yto.EF;
using com.ytocargo.Core.AirPortInfos;
using com.ytocargo.Core.BackgroundJobInfos;
using com.ytocargo.Core.SystemSettings;
using com.ytocargo.Core.Charts;

namespace com.ytocargo.EntityFramework.DbCtx
{
	public class YtoMSServerContext : YtoDbContext<YtoUser>
	{
        //public virtual IDbSet<AirPortChart> AirPortCharts { get; set; }

        //public virtual IDbSet<AirPortInfo> AirPortInfos { get; set; }

        //public virtual IDbSet<BackgroundJobInfo> BackgroundJobInfos { get; set; }

        //public virtual IDbSet<SystemSetting> SystemSettings { get; set; }

        //public virtual IDbSet<Chart> Charts { get; set; }

        public YtoMSServerContext() : base("Second")
        {
            Database.SetInitializer<YtoMSServerContext>(null);
        }

        public YtoMSServerContext(string nameOrConnectionString) : base(nameOrConnectionString) { }


		protected override void OnModelCreating(DbModelBuilder modelBuilder)
		{
			base.OnModelCreating(modelBuilder);
		}
	}
}
